package com.yaya.spring.theory.aop.dynamicProxy;

public class StudentServiceImpl implements StudentService{
    @Override
    public void save(Student student) {
        System.out.println("save student..");
    }

    @Override
    public long delete(long id) {
        System.out.println("delete student.." + id);
        return id;
    }

    @Override
    public Student find(long id) {
        System.out.println("find student.." + id);
        return new Student(id, "Tom");
    }
}
